﻿using System;
using FreeSql.DataAnnotations;

namespace QuDao
{
	/// <summary>
    /// base_goods: base_商品
    /// </summary>
	[Table(Name ="base_goods")]
	public partial class Goods
	{
		/// <summary>
        /// 商品ID
        /// </summary>
		[Column(IsPrimary =true, IsIdentity =true)]
		public int GoodsID { get; set; }
		
		/// <summary>
        /// 商品名称
        /// </summary>
		public string GoodsName { get; set; }
		
		/// <summary>
        /// 租户ID
        /// </summary>
		public int TID { get; set; }
		
		/// <summary>
        /// 类别ID
        /// </summary>
		public int CategoryID { get; set; }
		
		/// <summary>
        /// 类别名称
        /// </summary>
		public string CategoryName { get; set; }
		
		/// <summary>
        /// 主图Url
        /// </summary>
		public string ImageUrl { get; set; }
		
		/// <summary>
        /// 成本价
        /// </summary>
		public decimal CostPrice { get; set; }
		
		/// <summary>
        /// 市场价
        /// </summary>
		public decimal MarketPrice { get; set; }

        /// <summary>
        /// 是否特价：特价商品可以自定义各级别会员对应的商品价格
        /// </summary>
        public bool IsSpecial { get; set; }
		
		/// <summary>
        /// A级会员价
        /// </summary>
		public decimal MAPrice { get; set; }
		
		/// <summary>
        /// B级会员价
        /// </summary>
		public decimal MBPrice { get; set; }
		
		/// <summary>
        /// C级会员价
        /// </summary>
		public decimal MCPrice { get; set; }
		
		/// <summary>
        /// 业绩提成
        /// </summary>
		public decimal Commission { get; set; }

        /// <summary>
        /// 销售范围：1-A级，2-B级，4-C级
        /// </summary>
        public int SalesRange { get; set; }

        /// <summary>
        /// 已售数量
        /// </summary>
        public int SalesNum { get; set; }
		
		/// <summary>
        /// 创建时间
        /// </summary>
		public DateTime CreateTime { get; set; }
		
		/// <summary>
        /// 修改时间
        /// </summary>
		public DateTime ModifyTime { get; set; }

        /// <summary>
        /// 排序标志：值大的排前面
        /// </summary>
        public int SortFlag { get; set; }

        /// <summary>
        /// 状态：0-已删除，1-已上架，2-已下架
        /// </summary>
        public int Status { get; set; }
		
				
	}
}